package com.example.component.analyzer.core.dao;

import com.example.common.api.service.jpa.BaseRepository;
import com.example.component.analyzer.core.model.Gold;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Yi
 * @version v1.0.0
 * @date 2019-07-03 22:24
 * @modificationHistory=========================逻辑或功能性重大变更记录
 * @modify By: {修改人} 2019-07-03
 * @modify reason: {方法名}:{原因}
 * ...
 */
public interface GoldRepository extends BaseRepository<Gold,Long> {
    /**
     * 查询时间范围内数据
     * @param stime
     * @param etime
     * @return
     */
    List<Gold> findByCreateTimeBetween(Date stime, Date etime);
}
